* Add the `data-scroll="smooth"` attribute to the `<ul class="nav nav-pills">` tag and the JS code above to enable smooth scrolling.